package com.financing.platform.service.impl;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.financing.platform.dao.IfpFetchProductRegexDao;
import com.financing.platform.service.IfpFetchProductRegexService;

@Service("fetchProductRegexServiceImpl")
public class FetchProductRegexServiceImpl implements IfpFetchProductRegexService {

	@Autowired
	IfpFetchProductRegexDao fpFetchProductRegexDao;
	
	@Override
	public Map<String, String> queryFetchXpath(Map<String, String> map) throws SQLException {
		return fpFetchProductRegexDao.queryFetchXpath(map);
	}

	@Override
	public List<Map<String, String>> queryAllFetchXpath(Map<String, String> map)
			throws SQLException {
		return fpFetchProductRegexDao.queryAllFetchXpath(map);
	}

	@Override
	public int updateFetchXpath(Map<String, String> map) throws SQLException {
		return fpFetchProductRegexDao.updateFetchXpath(map);
	}
	
	
}
